﻿@{
    Layout = null;
    ViewBag.Title = "ChromeGSETest";
}

<script src="/Content/ExtJs/ext-bootstrap.js"></script>
<script src="/Content/ExtJs/build/ext-all-debug.js"></script>
<script src="/Content/ExtJs/build/classic/locale/locale-zh_CN.js"></script>
<link href="/Content/ExtJs/build/classic/locale/theme-crisp/resources/theme-crisp-all.css" rel="stylesheet" />
<script src="~/Ext/ux/GSE/chromeGse.js"></script> 
<script type="text/javascript">
    Ext.Loader.setConfig({
        paths: {
            'Ext': '/Content/ExtJs',
        }
    });

 

    Ext.define('app.Application', {
        extend: 'Ext.app.Application',
        name: 'app',
        appFolder: '/Ext',
        views: [],
        //requires: ['app.main.Login', 'app.main.Main'],
        stores: [],
        controllers: [
            'App'
        ],
        defaultToken: 'home',
        init: function () {
            console.log("Loading application");
        },
        launch: function () {
            Ext.create('Ext.panel.Panel', {
                title: 'Chemdraw Chrome Component Test',
                mol: '',
                cdx: '',
                img: '',
                renderTo: Ext.getBody(),
                items: [
                    Ext.create("app.ux.GSE.gsePanel"),
                    {
                        xtype: 'panel',
                        border: false,
                        html: '<div style="color:green"><br/>' +
                            '<a href="/Content/ChemDrawSocket/Chrome32.zip">Chrome x86.zip</a>&nbsp;&nbsp;<a href="/Content/ChemDrawSocket/Chrome64.zip">Chrome x64.zip</a><br/>' +
                            '0.下载并绿色安装当前版本的Chrome<br/><br/><a href="/Content/ChemDrawSocket/cit.gse-v1.1.zip">下载 【cit.gse-v1.1.zip】</a><br/>' +
                                '0. 解压 【cit.gse-v1.1.zip】到D盘根目录<br/>' +
                                '1. 运行 【_host.install.bat】<br/>' +
                                '2. 将 【bcmnofijdkjelelapiiflaiofigbffph_1_1.crx】 拖到 chrome的扩展程序界面上<br/>' +
                                '3. 【刷新】后再操作 粘帖、编辑<br/></div>'
                    }
                ]
            });
        }
    });
     
    Ext.application({
        name: 'app',
        appFolder: '/Ext',
        extend: 'app.Application'
    });
</script>